<template>
  <div>
    <h2>组件1</h2>
    {{ this.$store.state.name }}
    {{ this.$store.state.age }}
  </div>
</template>
<script>
export default {
  
}
</script>